* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold:  #d48b14;
    --primary-blue: #007bff;
    --primary-red: #d1122f;
    --bg-gradient: rgb(201, 233, 240);
    --white: #b4dded;
    --light-gray: #eac6ee;
    --dark-gray: #060404;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.973);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.884);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.3);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background: #e0dddd;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}


.container {
    max-width: auto;
    margin: 0 auto;
    padding: 0 20px;
     gap: 2rem; /* Gap between logo-section and details-part */
}


header {
     background: #AFEEEE;
    color: #ae0808;
    padding: 1.2rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: flex;
    top: 0;
    z-index: 1000;
}

header .container {
    max-width: auto;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2.5rem;
    margin-right: 15rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo, #logoLeft {
    height: 180px;
    width: 160px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    cursor: pointer;
}


.contact-sticker {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0; /* GAP BETWEEN HEADER & CONTACT */
}

.contact-sticker span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.details-part {
    text-align: center;
    gap: 1.5rem; 
}




.contact-top {
    display: inline-block;
    margin-left: 0;
    width: 225px;
}

.contact-top img {
    width: 60px;
    height: 55px;
    vertical-align: middle;
    margin-right: 1px;
}

/* Marquee */
.marquee-container {
    background: #010326;
    padding: .3rem;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 0rem 0; /* Consistent spacing */
}

.news-marquee, #newsMarquee {
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    padding: 04.rem 0;
    
    font-weight: 500;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.news-marquee:hover, #newsMarquee:hover {
    animation-play-state: paused;
}

/* Banner */
.banner-images {
    position: relative;
    margin: 1rem 0;
    overflow: hidden;
}

.banner-images::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52,152,219,0.3), rgba(231,76,60,0.3));
    z-index: 1;
}

.banner-container {
    background: #ffffff;
    max-width: 1500px;
    margin: 0 auto;
    border-radius: 4px;
    border: 1px solid #051a48;
    padding: 2px;
    display: flex;
    gap: 2px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.banner-container img,
.banner-images img {
    height: 600px;
    width: 100%;
    object-fit: cover;
    border-radius: 3px;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.banner-images img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px rgba(0,0,0,0.4);
}

/* School Hours Grid */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.hours-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-top: 5px solid transparent;
    height: 100%;
}

.hours-card.primary { border-top-color: #4a90e2; }
.hours-card.secondary { border-top-color: #7ed321; }
.hours-card.accent { border-top-color: #080cff; }
.hours-card.info { border-top-color: #d0021b; }

.hours-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.hours-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.hours-card h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hours-table {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1rem;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.hour-row:hover {
    background: rgba(74,144,226,0.08);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.hour-row.special {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left-color: #f5a623;
    font-weight: 600;
}

.time-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    flex: 1;
}

.time {
    font-size: 1.4rem;
    font-weight: 800;
    color: #4a90e2;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(74,144,226,0.1), rgba(80,227,194,0.1));
    border-radius: 25px;
    border: 2px solid rgba(74,144,226,0.2);
    min-width: 140px;
    text-align: center;
}

.special-notices {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    margin: 4rem 0;
    color: white;
    text-align: center;
    box-shadow: 0 25px 70px rgba(102,126,234,0.3);
    position: relative;
    overflow: hidden;
}

.notice-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.notice-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem 1.5rem;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.notice-item:hover {
    background: rgba(255,255,255,0.28);
    transform: translateX(12px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
}

.notice-dot {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.notice-item strong {
    color: #ffd700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.3rem;
}

/* COMPLETE FOOTER WITH QUICK LINKS + SCHOOL HOURS + FOLLOW US */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.footer-section {
    text-align: left;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    line-height: 1.7;
    font-size: 0.98rem;
    margin-bottom: 0.8rem;
    display: block;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #4ecdc4;
    padding-left: 0.5rem;
    transform: translateX(5px);
}

.footer-section p strong {
    color: #ffd700;
}

.social-media {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}

.social-link:hover {
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.social-link.facebook:hover { background: #3b5998; }
.social-link.instagram:hover { 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
}
.social-link.youtube:hover { background: #ff0000; }
.social-link.whatsapp:hover { background: #25d366; }
.social-link.email:hover { background: #ea4335; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
}

.footer-bottom p {
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    header .container {
        padding: 0 1.5rem;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .logo-section {
        gap: 1.5rem;
    }
    
    .hours-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
    
    header .container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    header h1 {
        margin: 0;
        font-size: 1.8rem;
    }
    
    .logo, #logoLeft {
        height: 80px;
        width: 72px;
    }
    
    .details-part {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-top {
        min-width: 180px;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
    
    .contact-sticker {
        margin: 1.2rem 1rem;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hours-card {
        padding: 2rem 1.8rem;
    }
    
    .hour-row {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .special-notices {
        padding: 2.5rem 2rem;
        margin: 3rem 0;
    }
    
    .notice-title {
        font-size: 1.9rem;
    }
    
    .notice-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .marquee-container {
        padding: 0.4rem 0;
    }
    
    .news-marquee, #newsMarquee {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-section {
        gap: 1rem;
    }
    
    .contact-top {
        min-width: 160px;
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .contact-top img {
        width: 24px;
        height: 24px;
    }
    
    .hours-card {
        padding: 1.8rem 1.5rem;
    }
    
    .hours-icon {
        font-size: 3rem;
    }
    
    .hours-card h3 {
        font-size: 1.4rem;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
}